//
//  UIScrollView+XHRefresh.h
//  XHFoundationModule
//
//  Created by xinph on 2020/3/13.
//  Copyright © 2020 xinph. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MJRefresh/MJRefresh.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIScrollView (XHRefresh)

/// 添加下拉刷新控件
- (MJRefreshNormalHeader *)xh_addHeaderRefresh:(void(^)(MJRefreshNormalHeader *header))refreshingBlock;
/// 添加上拉加载控件
- (MJRefreshAutoNormalFooter *)xh_addFooterRefresh:(void(^)(MJRefreshAutoNormalFooter *footer))refreshingBlock;

@end

NS_ASSUME_NONNULL_END
